﻿using System.Linq;
using Cassette;

namespace P7DC.Web.Common.Extentions
{
	public static class BundleCollectionExtention
	{
		public static void AddBundle<T>(this BundleCollection bundles, string[] directories)
		where T : Bundle
		{
			directories.ToList().ForEach(c => bundles.AddPerIndividualFile<T>(c));
		}
	}
}